package com.dave.sleuth.userservice.Config

import org.springframework.beans.factory.annotation.Configurable
import org.springframework.context.annotation.Bean
import org.springframework.web.client.RestTemplate

/**
 * Created by mac on 2018/5/30
 * Describes
 */
@Configurable
class SystemConfig{

    @Bean
    fun getRestTemplate():RestTemplate{
        return RestTemplate();
    }
}

